	<header id="container" class="mod-topbar">
		<div class="mod-topbar-pseudo-real">
			<div class="wrapper-box clearfix">
				<div class="center-box">
					<ul class="q-menubox">
						<% if (!isEmpty(folders)){ %>
						<% for(item in folders){ %>
							<% // 如果是跳转到admin后台管理页面，那么必须是登陆并且是管理员 %>
							<% if (item.jump_url!='admin' || (item.jump_url=='admin' && !isEmpty(session.session_user) && session.session_user.usertype == 1) ) { %>
							
							<% if(item.type==1){ %>
							<li class="q-menuitem  ${item.id==folders_selected?'q-selected':''} "><a href="web/${item.id}">${item.name}</a></li>
							<% } else if(item.type==2){ %>
							<li class="q-menuitem  ${item.id==folders_selected?'q-selected':''} "><a href="${item.jump_url}">${item.name}</a></li>
							<% } else if(item.type==3){ %>
							<li class="q-menuitem  ${item.id==folders_selected?'q-selected':''} "><a href="${item.jump_url}" target="_blank">${item.name}</a></li>
							<% } else if(item.type==4){ %>
							${item.jump_url}
							<% } %>
							
							<% } %>
						<% } %>
						<% } %>
					</ul>
				</div>
				
				<div class="right-box">
					<ul class="q-menubox">
						<% if(isEmpty(session.session_user)){ %>
						<li class="q-menuitem"><a href="web/login">登陆</a></li>
						<li class="q-menuitem ${'regist'==folders_selected?'q-selected':''}"><a href="web_regist" >注册</a></li>
						<% } else { %>
						<li class="q-menuitem ${'message'==folders_selected?'q-selected':''}"><a href="web_message" id="web_message" >我的消息</a></li>
						<!-- 
						<li class="q-menuitem ${'space'==folders_selected?'q-selected':''}"><a href="web_space" id="web_space" >我的空间</a></li>
						 -->
						<li class="q-menuitem ${'person'==folders_selected?'q-selected':''}"><a href="web_person">${session.session_user.realname!session.session_user.username }</a></li>
						<li class="q-menuitem"><a href="web/logout" >退出</a></li>
						<% } %>
					</ul>
				</div>
			</div>
		</div>
	</header>